<?php 

	header("Content-Type:text/html;charset=utf8");
	// echo '<pre>';
	/**
	 *  这里没明白怎么回事儿
	 *		$regex = '/^(Chuanshanjia)[\w\s!]+\1$/'; 不知道代表什么
	 */
	$regex = '/^(Chuanshanjia)[\w\s!]+\1$/';
	$str   = 'Chuanshanjia thank Chuanshanjia Chuanshanjiaa thank Chuanshanjia';
	// if(preg_match($regex, $str,$matchs,PREG_OFFSET_CAPTURE )){
	if(preg_match($regex, $str,$matchs)){
		print_r($matchs);
	}